package com.bigdata.service.domain.bo;

import com.bigdata.common.core.validate.AddGroup;
import com.bigdata.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import com.bigdata.common.core.domain.BaseEntity;

/**
 * 热搜词实时数据业务对象 hot_search
 *
 * @author ruoyi
 * @date 2025-08-15
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class HotSearchBo extends BaseEntity {

    /**
     * 主键ID
     */
    @NotBlank(message = "主键ID不能为空", groups = { EditGroup.class })
    private String id;

    /**
     * 搜索词（最长支持50字符）
     */
    @NotBlank(message = "搜索词（最长支持50字符）不能为空", groups = { AddGroup.class, EditGroup.class })
    private String keyword;

    /**
     * 搜索次数
     */
    @NotBlank(message = "搜索次数不能为空", groups = { AddGroup.class, EditGroup.class })
    private String searchCount;


    /**
     * 分页大小
     */
    private Integer pageSize;

    /**
     * 当前页数
     */
    private Integer pageNum;
}
